<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>et</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="Charisma, a fully featured, responsive, HTML5, Bootstrap admin template.">
    <meta name="author" content="Muhammad Usman">
<%@include file="/commons/commonJs.jsp"%>

<script type="text/javascript">
$(document).ready(function(){
	ajaxDiv(false, '', '<%=basePath%>mgt/classTable/queryClassTableList.do','' , initClassTable2);
	ajaxDiv(false, '', '<%=basePath%>mgt/classTable/queryClassAndTeacher.do','' , showClassAndTeacher2);
	  
	  $("#studentNum").blur(function(){
	  	 myValidate('studentNum',true,'num');
	  });
	  $("#classAddr").blur(function(){
	  	 myValidate('classAddr',true,'text',1,20);
	  });
	  
	  $("#classInfoId").change(function(){
	  	 myValidate('classInfoId',true);
	  });
	  $("#classTeacherId").change(function(){
	  	 myValidate('classTeacherId',true);
	  });
	  
	  $("#levelType").change(function(){
	  	var val = $(this).children('option:selected').val();
	 	 if(val=="all"){
	 	 	$("#classLevel_chosen").hide();
	 	 }else{
	 	 	$("#classLevel_chosen").show();
	 	 }
	  });
	  
	  $('[data-rel="chosen"],[rel="chosen"]').chosen();
	  $("#classTeacherId_chosen").css({"width":"100%"});
	  $("#classInfoId_chosen").css({"width":"100%"});
	  $("#classLevel_chosen").css({"width":"100%"});
	  $("#levelType_chosen").css({"width":"100%"});
	  
});
function initClassTable2(data,divId){
	var classStartTime="0";
	var classEndTime="0";
	var list = data["classTableList"];
	$("#tb_weekClass").html("");
	if(list.length>0){
	for ( var i = 0; i < list.length; i++) {
		var item = list[i];
		if(item.id>0){
			var classDate=item.classDate;
			if(item.classStartTime!=classStartTime && item.classEndTime!=classEndTime){
				classStartTime=item.classStartTime;
				classEndTime=item.classEndTime;
				var count = i +1;
		        
				
				$("#tb_weekClass").append('<tr id="tr_'+count+'">'+
				   '<input type="hidden" id="classStartTime'+count+'" value="'+classStartTime+'">'+
				   '<input type="hidden" id="classEndTime'+count+'" value="'+classEndTime+'">'+
		           '<td>'+classStartTime+'<br>&nbsp;&nbsp;&nbsp;&nbsp;|<br>'+classEndTime+'<br><button class="btn btn-danger btn-xs" onclick="delWeekClassLine(\'tr_'+count+'\')">删除此行</button></td>'+
		           '<td class="center" id="td_'+count+'_1"><button class="btn btn-primary btn-sm" onclick="forClassTableAdd(\'td_'+count+'_1\')">新增课程</button></td>'+
		           '<td class="center" id="td_'+count+'_2"><button class="btn btn-primary btn-sm" onclick="forClassTableAdd(\'td_'+count+'_2\')">新增课程</button></td>'+
		           '<td class="center" id="td_'+count+'_3"><button class="btn btn-primary btn-sm" onclick="forClassTableAdd(\'td_'+count+'_3\')">新增课程</button></td>'+
		           '<td class="center" id="td_'+count+'_4"><button class="btn btn-primary btn-sm" onclick="forClassTableAdd(\'td_'+count+'_4\')">新增课程</button></td>'+
		           '<td class="center" id="td_'+count+'_5"><button class="btn btn-primary btn-sm" onclick="forClassTableAdd(\'td_'+count+'_5\')">新增课程</button></td>'+
		           '<td class="center" id="td_'+count+'_6"><button class="btn btn-primary btn-sm" onclick="forClassTableAdd(\'td_'+count+'_6\')">新增课程</button></td>'+
		           '<td class="center" id="td_'+count+'_7"><button class="btn btn-primary btn-sm" onclick="forClassTableAdd(\'td_'+count+'_7\')">新增课程</button></td>'+
		       '</tr>');
			}
			
			var date = new Date(classDate).getDay();
	        if(date==0){
	       		date=7;
	        }
			var arr=new Array();
			//注split可以用字符或字符串分割
			var level = "";
			var levelType=item.levelType;
			var classLevel=item.classLevel;
			if(levelType=="all"){
				level = "all level";
			}else if(levelType=="equals"){
				arr=classLevel.split(',');
				level = "level"+arr[1];
			}else if(levelType=="above"){
				arr=classLevel.split(',');
				level = "above level"+arr[1];
			}else{
				arr=classLevel.split(',');
				level = "level"+arr[1]+"-"+arr[arr.length-2];
			}
			$("#td_"+count+"_"+date).html('课名：'+item.classInfoName+'<br>教师：'+item.classTeacherName+'<br>班级：'+item.classAddr+'<br>级别：'+level+'<br>人数：'+item.orderClassNum+'/'+item.studentNum+'<br>'+
	            '<button class="btn btn-success btn-xs" onclick="forClassTableShow('+item.id+')">view</button>'+
	            '<button class="btn btn-info btn-xs" onclick="forClassTableEdit('+item.id+',\'td_'+count+'_'+date+'\')">edit</button>'+
	            '<button class="btn btn-danger btn-xs" onclick="forClassTableDel('+item.id+',\'td_'+count+'_'+date+'\')">del</button>');
			
		}
	}
	}
}




function forClassTableShow(id){
	ajaxDiv(false, 'classTableShow', '<%=basePath%>mgt/classTable/toClassTableShow.do', '{id:'+id+'}', forClassTableShow2);
	$("#classTableShow").modal();
}
function forClassTableShow2(data,tdId){
	$("#show_classInfoName").val(data.classInfoName);
	$("#show_classTeacherName").val(data.classTeacherName);
	$("#show_classAddr").val(data.classAddr);
	$("#show_studentNum").val(data.studentNum);
	$("#show_orderClassNum").val(data.orderClassNum);
	$("#show_createUser").val(data.createUser);
	$("#show_createTime").val(data.createTime);
	$("#show_updateUser").val(data.updateUser);
	$("#show_updateTime").val(data.updateTime);
	$("#show_studentNames").val(data.studentNames);
	
	
	var arr=new Array();
	//注split可以用字符或字符串分割
	var level = "";
	var levelType=data.levelType;
	var classLevel=data.classLevel;
	if(levelType=="all"){
		level = "all level";
	}else if(levelType=="equals"){
		arr=classLevel.split(',');
		level = "level"+arr[1];
	}else if(levelType=="above"){
		arr=classLevel.split(',');
		level = "above level"+arr[1];
	}else{
		arr=classLevel.split(',');
		level = "level"+arr[1]+"-"+arr[arr.length-2];
	}
	$("#show_classLevel").val(level);
}




function forClassTableAdd(tdId){
	var arr=new Array();
	arr=tdId.split('_');//注split可以用字符或字符串分割
	var lineId=arr[1];
	var rowId=arr[2];
	$("#classStartTime").val($("#classStartTime"+lineId).val());
	$("#classEndTime").val($("#classEndTime"+lineId).val());
	$("#classDate").val($("#th_"+rowId).html());
	$("#functionType").val("add");
	$("#tdId").val(tdId);
	$("#classLevel_chosen").hide();
	$("#levelType").val("all");
	$("#classAddr").val("");
	$("#studentNum").val("");
	$("#id").val("");
	
	$("#classTableAdd").modal();
}



function showClassAndTeacher2(data,divId){
	$("#classInfoId").html("");
	$("#classTeacherId").html("");
	var classInfoList = data["classInfoList"];
	var userList=data["userList"];
	for ( var i = 0; i < classInfoList.length; i++) {
		var classInfo = classInfoList[i];
		if(classInfo!=null){
			$("#classInfoId").append('<option value="'+classInfo.id+'">'+classInfo.className+'</option>');
		}
		
	}
	for ( var i = 0; i < userList.length; i++) {
		var user = userList[i];
		if(user!=null){
			$("#classTeacherId").append('<option value="'+user.id+'">'+user.userName+'</option>');
		}
		
	}
}


function classTableAdd(){
	var flag1=myValidate('studentNum',true,'num');
	var flag2=myValidate('classAddr',true,'text',1,20);
	var flag3=myValidate('classInfoId',true);
	var flag4=myValidate('classTeacherId',true);
	if(flag1&&flag2&&flag3&&flag4){
		var tdId =$("#tdId").val();
		var id = $("#id").val();
		if(id>0){
			ajaxForm(false, tdId, '<%=basePath%>mgt/classTable/classTableUpdate.do', 'formClassTable', classTableAdd2);
		}else{
			ajaxForm(false, tdId, '<%=basePath%>mgt/classTable/classTableSave.do','formClassTable', classTableAdd2);
		}
		$("#classTableAdd").modal('hide');
	}
}

function classTableAdd2(data,divId){
	var arr=new Array();
	//注split可以用字符或字符串分割
	var level = "";
	var levelType=data.levelType;
	var classLevel=data.classLevel;
	if(levelType=="all"){
		level = "all level";
	}else if(levelType=="equals"){
		arr=classLevel.split(',');
		level = "level"+arr[1];
	}else if(levelType=="above"){
		arr=classLevel.split(',');
		level = "above level"+arr[1];
	}else{
		arr=classLevel.split(',');
		level = "level"+arr[1]+"-"+arr[arr.length-2];
	}
	//alert(divId+":data:"+data.orderClassNum);
	$("#"+divId).html('课名：'+data.classInfoName+'<br>教师：'+data.classTeacherName+'<br>班级：'+data.classAddr+'<br>级别：'+level+'<br>人数：'+data.orderClassNum+'/'+data.studentNum+'<br>'+
	            '<button class="btn btn-success btn-xs" onclick="classTableShow('+data.id+')">view</button>'+
	            '<button class="btn btn-info btn-xs" onclick="classTableEdit('+data.id+',\''+divId+'\')">edit</button>'+
	            '<button class="btn btn-danger btn-xs" onclick="classTableDel('+data.id+',\''+divId+'\')">del</button>');
	         
	alert("更新成功！");
}

function forClassTableEdit(id,tdId){
	$("#functionType").val("edit");
	$("#tdId").val(tdId);
	ajaxDiv(false, 'classTableAdd', '<%=basePath%>mgt/classTable/toClassTableUpdate.do', '{id:'+id+'}', forClassTableEdit2);
	$("#classTableAdd").modal();
}

function forClassTableEdit2(data,divId){
	$('[data-rel="chosen"],[rel="chosen"]').chosen("destroy");
	var arr=new Array();
	//注split可以用字符或字符串分割
	var level = "";
	var levelType=data.levelType;
	var classLevel=data.classLevel;
	
	if(levelType=="all"){
		$("#levelType").val(levelType);
		
		//$("#levelType").chosen("destroy");
		//$("#levelType option[value='"+levelType+"']").attr("selected","selected"); 
		//jQuery Chosen.destroy().init();
		//$("#levelType").trigger("liszt:updated");
		//$("#levelType").trigger("chosen:updated"); 
		//$("#levelType").chosen(); 
		//$("#levelType_chosen").css({"width":"100%"});
		
	}else if(levelType=="equals"){
		arr=classLevel.split(',');
		$("#levelType").val(levelType);
		$("#classLevel").val(arr[1]);
	}else if(levelType=="above"){
		arr=classLevel.split(',');
		$("#levelType").val(levelType);
		$("#classLevel").val(arr[1]);
	}else{
		arr=classLevel.split(',');
		$("#levelType").val(arr[1]);
		$("#classLevel").val(arr[arr.length-2]);
	}
	$("#classAddr").val(data.classAddr);
	$("#studentNum").val(data.studentNum);
	$("#id").val(data.id);
	$("#classInfoId").val(data.classInfoId);
	$("#classTeacherId").val(data.classTeacherId);
	
	$('[data-rel="chosen"],[rel="chosen"]').chosen();
	  $("#classTeacherId_chosen").css({"width":"100%"});
	  $("#classInfoId_chosen").css({"width":"100%"});
	  $("#classLevel_chosen").css({"width":"100%"});
	  $("#levelType_chosen").css({"width":"100%"});
	$("#classLevel_chosen").show();
	if(levelType=="all"){
		$("#classLevel_chosen").hide();
	}
	  
}


function forClassTableDel(id,tdId){
	$("#tdId_del").val(tdId);
	$("#classTableDel").modal();
}

function classTableDel(){
	var tdId=$("#tdId_del").val();
	ajaxDiv(false, tdId, '<%=basePath%>mgt/classTable/classTableDelete.do', '{id:'+id+'}', classTableDel2);
	$("#classTableDel").modal('hide');
}
function classTableDel2(data,tdId){
	$("#"+tdId).html('<button class="btn btn-primary btn-sm" onclick="forClassTableAdd(\''+tdId+'\')">新增课程</button>');
	$("#classTableDel").modal('hide');
}

function forAddWeekClassLine(){
	$("#forClassStartTime").val("");
	$("#forClassEndTime").val("");
	$("#addClassTableRow").modal();
}
function addWeekClassLine(){
	var flag1=myValidate('forClassStartTime',true);
	var flag2=myValidate('forClassEndTime',true);
	if(flag1&&flag2){
		var classStartTime=$("#forClassStartTime").val();
		var classEndTime=$("#forClassEndTime").val();
		var count = $("#tb_weekClass tr").length+1;
		$("#tb_weekClass").append('<tr id="tr_'+count+'">'+
			   '<input type="hidden" id="classStartTime'+count+'" value="'+classStartTime+'">'+
			   '<input type="hidden" id="classEndTime'+count+'" value="'+classEndTime+'">'+
	           '<td>'+classStartTime+'<br>&nbsp;&nbsp;&nbsp;&nbsp;|<br>'+classEndTime+'<br><button class="btn btn-danger btn-xs" onclick="delWeekClassLine(\'tr_'+count+'\')">删除此行</button></td>'+
	           '<td class="center" id="td_'+count+'_1"><button class="btn btn-primary btn-sm" onclick="forClassTableAdd(\'td_'+count+'_1\')">新增课程</button></td>'+
	           '<td class="center" id="td_'+count+'_2"><button class="btn btn-primary btn-sm" onclick="forClassTableAdd(\'td_'+count+'_2\')">新增课程</button></td>'+
	           '<td class="center" id="td_'+count+'_3"><button class="btn btn-primary btn-sm" onclick="forClassTableAdd(\'td_'+count+'_3\')">新增课程</button></td>'+
	           '<td class="center" id="td_'+count+'_4"><button class="btn btn-primary btn-sm" onclick="forClassTableAdd(\'td_'+count+'_4\')">新增课程</button></td>'+
	           '<td class="center" id="td_'+count+'_5"><button class="btn btn-primary btn-sm" onclick="forClassTableAdd(\'td_'+count+'_5\')">新增课程</button></td>'+
	           '<td class="center" id="td_'+count+'_6"><button class="btn btn-primary btn-sm" onclick="forClassTableAdd(\'td_'+count+'_6\')">新增课程</button></td>'+
	           '<td class="center" id="td_'+count+'_7"><button class="btn btn-primary btn-sm" onclick="forClassTableAdd(\'td_'+count+'_7\')">新增课程</button></td>'+
	       '</tr>');
	       
	       $("#addClassTableRow").modal('hide');
       }
}





function delWeekClassLine(trid){
    if($("#"+trid+" button").length>8){
    	alert("还有课程，不能删除！");
    }else{
    	$("#"+trid).remove();
    	alert("删除成功！");
    }
}

 

</script>
</head>

<body>

            <!-- content starts -->
                <div>
        <ul class="breadcrumb">
            <li>
                <a href="javascript:skipPage('<%=basePath%>mgt/sys/content.do')">主页</a>
            </li>
            <li>
                <a href="#">本周课表</a>
            </li>
        </ul>
    </div>


        



    <div class="row">
    <div class="box col-md-12">
    <div class="box-inner">
    <div class="box-header well" data-original-title="">
        <h2><i class="glyphicon glyphicon-user"></i> 本周课表</h2>
		<a class="btn btn-round btn-primary" href="javascript:forAddWeekClassLine()" style="font-size:10px;float:right">
        		<i class="glyphicon glyphicon-edit icon-white"></i>新增一行</a>
    </div>
    <div class="box-content">
    <table class="table table-bordered table-striped table-condensed" >
    <thead>
    <tr>
    	<th></th>
    	<c:forEach items="${weekDateList }" var="item" varStatus="status">
        	<th id="th_${status.count}">${item}</th>
        </c:forEach>
        
    </tr>
    <tr>
    	<th>时间</th>
        <th>Mon</th>
        <th>Tue</th>
        <th>Wed</th>
        <th>Thu</th>
        <th>Fri</th>
        <th>Sat</th>
        <th>Sun</th>
    </tr>
    </thead>
    <tbody id="tb_weekClass">
    
    </tbody>
    </table>
    
    
    
    </div>
    </div>
    </div>
    <!--/span-->

    </div><!--/row-->








	<div class="modal fade" id="addClassTableRow" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
         aria-hidden="true">

        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal">×</button>
                    <h3>新增一行课程</h3>
                </div>
                <div class="modal-body">
                	<fieldset>
                    <div class="form-group col-md-12">
                    <label class="control-label" for="forClassStartTime">课程开始时间</label><span id="sp_forClassStartTime" ></span>
                    <input type="text" class="form-control" readonly="readonly" id="forClassStartTime" onclick="new WdatePicker({el:$dp.$('bftime'),dateFmt:'HH:mm'})">
                </div>
                <div class="form-group col-md-12">
                    <label class="control-label" for="forClassEndTime">课程结束时间</label><span id="sp_forClassEndTime" ></span>
                    <input type="text" class="form-control" readonly="readonly" id="forClassEndTime" onclick="new WdatePicker({el:$dp.$('bftime'),dateFmt:'HH:mm'})">
                </div>
				  	
				</fieldset>  
                </div>
                <div class="modal-footer">
                    <a href="#" class="btn btn-primary" data-dismiss="modal">Close</a>
                    <a class="btn btn-primary" href="javascript:addWeekClassLine();">增加一行</a>
                </div>
            </div>
        </div>
    </div>








	
    
    
    <div class="modal fade" id="classTableAdd" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
         aria-hidden="true">

        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal">×</button>
                    <h3 id="h3_info">新增课程</h3>
                </div>
                <div class="modal-body">
                <form id="formClassTable" method="post" action="">
                	<fieldset>
                	<input type="hidden" name="classStartTime" id="classStartTime"> 
                	<input type="hidden" name="classEndTime" id="classEndTime"> 
                	<input type="hidden" name="classDate" id="classDate"> 
                	<input type="hidden" name="functionType" id="functionType"> 
                	<input type="hidden" name="tdId" id="tdId"> 
                	<input type="hidden" name="id" id="id"> 
                <div class="form-group col-md-12">
                    <label class="control-label" for="classInfoId">课名</label><span id="sp_classInfoId" ></span>
                    <div class="controls">
                        <select id="classInfoId" data-rel="chosen" name="classInfoId"  >
                        </select>
                    </div>
                </div>
                <div class="form-group col-md-12">
                    <label class="control-label" for="classTeacherId">教师</label><span id="sp_classTeacherId" ></span>
                    <div class="controls">
                        <select id="classTeacherId" data-rel="chosen" name="classTeacherId" style="width:100px" >
                        </select>
                    </div>
                </div>
                <div class="form-group col-md-6">
                    <label class="control-label" for="levelType">级别</label><span id="sp_levelType" ></span>
                    <div class="controls">
                        <select id="levelType" name="levelType"  data-rel="chosen">
                        	<option value="all">all level</option>
                        	<option value="equals">equals</option>
                        	<option value="above">above</option>
                        	<option value="0">level 0</option>
                            <option value="1">level 1</option>
                            <option value="2">level 2</option>
                            <option value="3">level 3</option>
                            <option value="4">level 4</option>
                            <option value="5">level 5</option>
                            <option value="6">level 6</option>
                            <option value="7">level 7</option>
                            <option value="8">level 8</option>
                            <option value="9">level 9</option>
                        </select>
                    </div>
                </div>
                <div class="form-group col-md-6">
               	 <label class="control-label" for="classLevel">&nbsp;</label><span id="sp_classLevel" ></span>
                    <div class="controls">
                        <select id="classLevel" name="classLevel" style="display: none;"  data-rel="chosen">
                        	<option value="0">level 0</option>
                            <option value="1">level 1</option>
                            <option selected="selected" value="2">level 2</option>
                            <option value="3">level 3</option>
                            <option value="4">level 4</option>
                            <option value="5">level 5</option>
                            <option value="6">level 6</option>
                            <option value="7">level 7</option>
                            <option value="8">level 8</option>
                            <option value="9">level 9</option>
                        </select>
                    </div>
                </div>
                <div class="form-group col-md-12">
                    <label class="control-label" for="classAddr">班级</label><span id="sp_classAddr" ></span>
                    <input type="text" class="form-control" name="classAddr" value="" id="classAddr">
                </div>
                
				  	<div class="form-group col-md-12">
                    <label class="control-label" for="studentNum">限定人数</label><span id="sp_studentNum" ></span>
                    <input type="text" class="form-control" name="studentNum" value="" id="studentNum">
                </div>
                <div class="form-group col-md-12">
                    <label class="control-label" for="orderClassNum">已报人数</label>
                    <input type="text" class="form-control" readonly="readonly" name="orderClassNum" value="" id="orderClassNum">
                </div>
				  	
				</fieldset>
				</form>  
                </div>
                <div class="modal-footer">
                    <a href="#" class="btn btn-primary" data-dismiss="modal">关闭</a>
                    <a href="javascript:classTableAdd();" class="btn btn-primary" >保存</a>
                </div>
            </div>
        </div>
    </div>
    
    
    
    <div class="modal fade" id="classTableDel" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
         aria-hidden="true">

        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal">×</button>
                    <h3>删除课程</h3>
                </div>
                <div class="modal-body">
                	<input type="hidden" id="tdId_del">
                    <p>确定删除此课程吗？</p>
                </div>
                <div class="modal-footer">
                    <a href="#" class="btn btn-default" data-dismiss="modal">Close</a>
                    <a href="javascript:classTableDel();" class="btn btn-primary" >删除</a>
                </div>
            </div>
        </div>
    </div>
    
    
    <div class="modal fade" id="classTableShow" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
         aria-hidden="true">

        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal">×</button>
                    <h3>课程信息</h3>
                </div>
                <div class="modal-body">
                	<fieldset>
                	
                <div class="form-group col-md-12">
                    <label class="control-label" for="show_classInfoName">课名</label>
                    <input type="text" class="form-control" name="show_classInfoName" value="" id="show_classInfoName">
                </div>
                <div class="form-group col-md-12">
                    <label class="control-label" for="show_classTeacherName">教师</label>
                    <input type="text" class="form-control" name="show_classTeacherName" value="" id="show_classTeacherName">
                </div>
                <div class="form-group col-md-12">
                    <label class="control-label" for="show_classLevel">级别</label>
                    <input type="text" class="form-control" name="show_classLevel" value="" id="show_classLevel">
                </div>
                <div class="form-group col-md-12">
                    <label class="control-label" for="show_classAddr">班级</label>
                    <input type="text" class="form-control" name="show_classAddr" value="" id="show_classAddr">
                </div>
                
				  	<div class="form-group col-md-12">
                    <label class="control-label" for="show_studentNum">限定人数</label>
                    <input type="text" class="form-control" name="show_studentNum" value="" id="show_studentNum">
                </div>
                <div class="form-group col-md-12">
                    <label class="control-label" for="show_orderClassNum">已报人数</label>
                    <input type="text" class="form-control" name="show_orderClassNum" value="" id="show_orderClassNum">
                </div>
                <div class="form-group col-md-12">
                    <label class="control-label" for="show_studentNames">已报人员</label>
                    <input type="text" class="form-control" name="show_studentNames" value="" id="show_studentNames">
                </div>
                	
                <div class="form-group col-md-12">
                    <label class="control-label" for="show_createUser">创建人</label>
                    <input type="text" class="form-control" name="show_createUser" value="" id="show_createUser">
                </div>
                <div class="form-group col-md-12">
                    <label class="control-label" for="show_createTime">创建时间</label>
                    <input type="text" class="form-control" name="show_createTime" value="" id="show_createTime">
                </div>
                <div class="form-group col-md-12">
                    <label class="control-label" for="show_updateUser">修改人</label>
                    <input type="text" class="form-control" name="show_updateUser" value="" id="show_updateUser">
                </div>
                <div class="form-group col-md-12">
                    <label class="control-label" for="show_updateTime">修改时间</label>
                    <input type="text" class="form-control" name="show_updateTime" value="" id="show_updateTime">
                </div>	
                	
				  	
				</fieldset>  
                </div>
                <div class="modal-footer">
                    <a href="#" class="btn btn-primary" data-dismiss="modal">Close</a>
                    <!-- <a href="#" class="btn btn-primary" data-dismiss="modal">Save changes</a> -->
                </div>
            </div>
        </div>
    </div>
    <!-- content ends -->

</body>
</html>
